1 @
if "%_echo%"=="" echo off
5 REM Copyright (c) 2006 Microsoft Corporation. All rights reserved.
7 REM The use and distribution terms for this software are contained in the file
8 REM named license.txt, which can be found in the root of this distribution.
9 REM By using this software in any fashion, you are agreeing to be bound by the
10 REM terms of this license.
12 REM You must not remove this notice, or any other, from this software.
16 if not exist obj
%BUILD_ALT_DIR% goto NoObjDir
17 if "%1"=="clean" rmdir /s
/q obj
%BUILD_ALT_DIR%
18 if "%1"=="-c" rmdir /s
/q obj
%BUILD_ALT_DIR%
20 if not exist obj
%BUILD_ALT_DIR% md obj
%BUILD_ALT_DIR%
21 if not exist obj
%BUILD_ALT_DIR%\rotor_x
86 md obj
%BUILD_ALT_DIR%\rotor_x
86
22 type default.mac
>obj
%BUILD_ALT_DIR%\_objects.mac
23 nmake ROTOR_X86
=1 -f makefile.win
>build
%BUILD_ALT_DIR%.log
2>&1
24 if ERRORLEVEL 1 goto :ReportError
25 echo Build successful.
29 if '%BUILDALL_BUILDING%'=='' (
31 for %%i in
(build
%BUILD_ALT_DIR%.log
) do echo Build failed. Please see
%%~fi
for details.